/****************************************************************************** 
 * LPC24xx Standard Peripheral Library
 * Version:  1.0.0
 *
 *  Copyright (C) 2012  Timothy Gack
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA 
 *******************************************************************************
 * Standard Includes File
 *
 * - Define register base addresses.
 * - Provide standard set of includes for use withing these modules.
 *
 *******************************************************************************/
#ifndef _LPC24XX_STD_INCLUDE_H_
#define _LPC24XX_STD_INCLUDE_H_

#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

/******************************************************************************
 * Register Address Defines
 *****************************************************************************/

/* Pin Connect Block */
#define PINSEL_BASE_ADDR	0xE002C000

/* General Purpose Input/Output (GPIO) */
#define GPIO_BASE_ADDR		0xE0028000

/* Fast I/O Setup */
#define FIO_BASE_ADDR		0x3FFFC000

/* System Control Block(SCB) modules include Memory Accelerator Module,
Phase Locked Loop, VPB divider, Power Control, External Interrupt, 
Reset, and Code Security/Debugging */
#define SCB_BASE_ADDR	0xE01FC000


#ifdef __cplusplus
}
#endif
#endif
